<?php


namespace api\web\controller;


use api\web\model\ImageModel;
use cmf\controller\RestBaseController;
use think\facade\Db;

class ImageController extends RestBaseController
{
    //显示页面
    public function banner(){
        $list = ImageModel::select();
        $this->success('轮播图列表', $list);
    }
}